$ var name = "name";
$ var value = "input.name";
<html>
    <head>
        <title>Inline Script</title>
    </head>
    <body>
        Hello ${name}!
        <script type="n/a">
        <div if(foo)></div>
        $(function() {
            alert('${input.name}');
        })
        </script>
    </body>
</html>